#include <iostream>
using namespace std;
class ball
{
	public:
		double R;
		double s;
		double v;
		double m;
	ball(double r):R(r)
		{
			s=4*3.14*r*r;
			v=4/3*3.14*r*r*r;
			m=v*7.8;
		}
	~ball()
	{
		cout<<"6666666"<<endl;
	}

		void print()
		{
			cout<<"v="<<v<<endl;
			cout<<"s="<<s<<endl;
			cout<<"m="<<m<<endl;
			cout<<"r="<<R<<endl;
		}
};
int main()
{
	double R;
	cout<<"please input the radius of the ball"<<endl;
	cin>>R;;
	ball ball(R);
	ball.print();
	return 0;
	
}